package com.ls.markt.dao.admin;

import org.springframework.data.repository.query.Param;

import java.util.Map;

public interface PlayerMapper {

//    List<Player> findAll();

//    void save(@Param("player") Player player);

//    void update(@Param("player") Player player);

//    Player getById(@Param("id") Long id);

//    void deleteById(@Param("id") Long id);

//    List<Player> findByClub(@Param("clubId") Long clubId);

    Map<String, Object> findInfoByClub(@Param("clubId") Long clubId);

    int getPlayerNumberByLevel(@Param("level") Long level);

}
